import request from '@/utils/request';

const dfApplicationApi = {};

dfApplicationApi.list = () => {
	return request({
		url: '/platform-api/df-application/list',
		method: 'get',
	})
}
dfApplicationApi.page = (params) => {
	return request({
		url: '/platform-api/df-application/page',
		method: 'get',
		params: params,
	})
}
dfApplicationApi.add = (params) => {
	return request({
		url: '/platform-api/df-application',
		method: 'post',
		data: params,
	})
}
dfApplicationApi.update = (params) => {
	return request({
		url: '/platform-api/df-application',
		method: 'put',
		data: params,
	})
}
dfApplicationApi.get = (id) => {
	return request({
		url: '/platform-api/df-application/' + id,
		method: 'get',
	})
}
dfApplicationApi.delete = (id) => {
	return request({
		url: '/platform-api/df-application/' + id,
		method: 'delete',
	})
}


export default dfApplicationApi